# 基础镜像
FROM  openjdk:8-jre
# author
MAINTAINER edsta
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# 复制jar文件到路径
COPY ./jar/mqbd-monitor.jar /mqbd-monitor.jar
COPY ./jar/bootstrap.yml /
# 启动电路生成模块
ENTRYPOINT ["java","-Xmx1024m", "-Xms4g","-Xmn2g", "-Xss10m", "-jar", "/mqbd-monitor.jar"]